
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 订单退款申请表 
    /// </summary>
    public partial class OrderRefundInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        public long OrderId { get; set; }
        public long OrderItemId { get; set; }
        public long ShopId { get; set; }
        public string ShopName { get; set; }
        public long UserId { get; set; }
        /// <summary>
        /// 申请内容
        /// </summary>
        public string Applicant { get; set; }
        /// <summary>
        /// 退款原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactPerson { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactCellPhone { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public string RefundAccount { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public System.DateTime ApplyDate { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 商家审核状态
        /// </summary>
        public OrderRefundAuditStatus SellerAuditStatus { get; set; }
        /// <summary>
        /// 商家审核时间
        /// </summary>
        public System.DateTime SellerAuditDate { get; set; }
        /// <summary>
        /// 商家注释
        /// </summary>
        public string SellerRemark { get; set; }
        /// <summary>
        /// 平台审核状态
        /// </summary>
        public OrderRefundConfirmStatus ManagerConfirmStatus { get; set; }
        /// <summary>
        /// 平台审核时间
        /// </summary>
        public System.DateTime ManagerConfirmDate { get; set; }
        /// <summary>
        /// 平台注释
        /// </summary>
        public string ManagerRemark { get; set; }
        /// <summary>
        /// 是否已经退款
        /// </summary>
        public bool IsReturn { get; set; }
        /// <summary>
        /// 快递公司
        /// </summary>
        public string ExpressCompanyName { get; set; }
        /// <summary>
        /// 快递单号
        /// </summary>
        public string ShipOrderNumber { get; set; }
        /// <summary>
        /// 收款人
        /// </summary>
        public string Payee { get; set; }
        /// <summary>
        /// 收款人账户
        /// </summary>
        public string PayeeAccount { get; set; }
        /// <summary>
        /// 退款方式
        /// </summary>
        public OrderRefundMode RefundMode { get; set; }
        /// <summary>
        /// 买家发货时间
        /// </summary>
        public DateTime? BuyerDeliverDate { get; set; }
        /// <summary>
        /// 卖家确认到货时间
        /// </summary>
        public DateTime? SellerConfirmArrivalDate { get; set; }
        /// <summary>
        /// 退款支付状态
        /// </summary>
        public OrderRefundPayStatus? RefundPayStatus { get; set; }
        /// <summary>
        /// 退款支付类型
        /// </summary>
        public OrderRefundPayType? RefundPayType { get; set; }
        /// <summary>
        /// 退款批次号
        /// </summary>
        public string RefundBatchNo { get; set; }
        /// <summary>
        /// 退款异步提交时间
        /// </summary>
        public Nullable<System.DateTime> RefundPostTime { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public Nullable<long> ReturnQuantity { get; set; }
        /// <summary>
        /// 退还分销佣金
        /// </summary>
        public decimal ReturnBrokerage { get; set; }
        /// <summary>
        /// 申请次数
        /// </summary>
        public Nullable<int> ApplyNumber { get; set; }
        /// <summary>
        /// 凭证图片1
        /// </summary>
        public string CertPic1 { get; set; }
        /// <summary>
        /// 凭证图片2
        /// </summary>
        public string CertPic2 { get; set; }
        /// <summary>
        /// 凭证图片3
        /// </summary>
        public string CertPic3 { get; set; }
        /// <summary>
        /// 总代佣金退还
        /// </summary>
        public decimal ReturnCommissionOne { get; set; }
        /// <summary>
        /// 一代佣金退还
        /// </summary>
        public decimal ReturnCommissionTwo { get; set; }
        /// <summary>
        /// 退款详情
        /// </summary>
        public string ReasonDetail { get; set; }
    
        public virtual OrderItemInfo OrderItemInfo { get; set; }
    }
}
